package com.mdl.api.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @Desc
 * @Author madengling
 * @Time 2020/11/6 10:07
 */
@RestController
@RequestMapping("/test")
public class TestHandler {

    @RequestMapping("/chaoshi")
    public String chaoshi(String areacode,String para,String projId,String jkbm){
        System.out.println("areacode={"+areacode+"},para={"+para+"},projId={"+projId+"},jkbm={"+jkbm+"}");
        try {
            Thread.sleep(10000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "测试成功！";
    }
}
